package com.naire.modul.employee.service;

import net.common.service.GeneralService;
import com.naire.modul.employee.dao.EmployeeDao;
import com.naire.modul.employee.dao.impl.EmployeeDaoImpl;
import com.naire.modul.employee.vo.EmployeeVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class EmployeeDeleteService extends GeneralService {

	private EmployeeVo bean;

	@Override
	public void execute() throws Exception {
		EmployeeDao dao = new EmployeeDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(EmployeeVo bean) {
		this.bean = bean;
	}

}
